<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>用户中心_{$web_name}</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta name="Keywords" content="用户中心" />
		<meta name="Description" content="用户中心" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
		<meta name="format-detection" content="telephone=no">
		<tc_include file="Public:head" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc/Home/User/css/user.css" />
		<link rel="stylesheet" type="text/css" href="/themes/wnsc/Home/User/css/user_common.css" />
		<style type="text/css">
			.user-right .tabmenu{margin-bottom: 0;}
			
		</style>
	</head>

	<body>

		<tc_include file="Public:nav" />
		<div class="w990" id="content" style="background: none;">
			<div class="margin-w1210 clearfix">
				<div class="w">
					<div class="breadcrumb clearfix">
						<a href="/" class="index">首页</a> <span class="crumbs-arrow">&gt;</span> <span class="last">用户中心</span></div>
				</div>
				<div class="blank"></div>
				<tc_include file="Public:user_left" />
				<div class="user-right">
					<div class="box">
						<div class="tabmenu">
							<ul class="tab pngFix">
								<li class="first active">退款/退货及维修</li>
							</ul>
						</div>
						<div class="alert alert-success">
							<h4>操作提示：</h4>
							<ul>
								<li>您查看退款/退货及维修订单</li>
							</ul>
						</div>
						
						<div>
							<table width="100%" border="0" cellspacing="0" cellpadding="0" class="bought-table">
								<thead>
									<tr class="col-name">
										<th width="15%" style="border-left: 1px solid #E6E6E6;">订单号</th>
										<th width="25%">申请时间</th>
										<th width="25%">申请类型</th>
										<th width="15%">状态</th>
										<th width="18%" style="border-right: 1px solid #E6E6E6;">操作</th>
									</tr>
								</thead>
								<tbody class="close-order" id="list_address">
									<foreach name="order_list" item="v">
									<tr class="order-bd last">
										<td align="center" class="baobei no-border-right order_goods_info">
											<div class="last"><a href="{:U('user/order_info',array('id'=>$v['order_id']))}">{$v.order_sn}</a></div>
										</td>
										<td align="center" class="baobei no-border-right order_goods_info">
											<div class="last">{:date('Y-m-d H:i:s',$v['refund_time'])}</div>
										</td>
										<td align="center" class="baobei no-border-right order_goods_info">
											<div class="last">
												<eq name="v['refund_type']" value="1"> 退款，但不退货  </eq>
												<eq name="v['refund_type']" value="2"> 退款，退货</eq>
											</div>
										</td>
										<td align="center" class="baobei no-border-right order_goods_info">
											<div class="last">
												<eq name="v['refund_state']" value="1"> 已申请 </eq>
												<eq name="v['refund_state']" value="2"> 同意，待发货  </eq>
												<eq name="v['refund_state']" value="3"> 拒绝  </eq>
												<eq name="v['refund_state']" value="4"> 等待客服打款</eq>
												<eq name="v['refund_state']" value="5"> 退款/退货 完成</eq>
											</div>
										</td>
										<td align="center" class="baobei no-border-right order_goods_info">
											<div class="last">
												<a href="{:U('user/refunddetail',array('order_id'=>$v['order_id']))}">查看详情</a>
											</div>
										</td>
									</tr>
									</foreach>
									<empty name="order_list">
											<style>
											/*空记录的展示*/
											.tip-box{ width: 1000px; height: 300px; margin: 50px auto 0; text-align: center;}
											.tip-box .tip-icon{ display: block; max-width: 100%; max-height: 100%; margin: 0 auto;}
											.tip-box .tip-text{ line-height: 20px; padding: 10px; font-size: 14px;}
											.tip-box .tip-text p{ height: 40px; line-height: 40px;}

											</style>
											<div class="tip-box">
												<img src="/themes/wnsc/Home/List/images/noresult.png" class="tip-icon">
												<div class="tip-text">没有符合条件的记录</div>
											</div>
										</empty>
								</tbody>
							</table>
						</div>
						<div class="blank10"></div>
						<div id="pagination" class="page">
							<div class="page-wrap fr">
								<div class="total">共<span id="totalcount">{$count}</span>条</div>
							</div>
							<style>
							.page-num .next {margin-left:0 ;}
							.page-num a{ float: left;text-align: center;border: 1px solid #eee;height: 35px;line-height: 35px;margin-right:4px;}
							.page-num span{float: left; text-align: center; height: 37px; line-height: 37px; width: 37px; margin-right:4px; background: red; color: #fff;}
							</style>
							<div class="page-num fr">
								{$page}
							</div>
						</div>
					</div>
				</div>

			</div>
		</div>
		<div style="clear: both;"></div>

		<tc_include file="Public:footer" />

	</body>

</html>